package com.wutong.resonance.model.exception;

public class PluginException extends RuntimeException {
    public PluginException(String message) {
        super(message);
    }

    public PluginException(String message, Throwable cause) {
        super(message, cause);
    }

    public PluginException(Throwable cause) {
        super(cause);
    }

    public PluginException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) {
        super(message, cause, enableSuppression, writableStackTrace);
    }

    public PluginException() {
        super();
    }

    public static class PluginNotFoundException extends PluginException {
        public PluginNotFoundException(String message) {
            super(message);
        }
        public PluginNotFoundException(String message, Throwable cause) {
            super(message, cause);
        }
        public PluginNotFoundException(Throwable cause) {
            super(cause);
        }
        public PluginNotFoundException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) {
            super(message, cause, enableSuppression, writableStackTrace);
        }
        public PluginNotFoundException() {
            super();
        }
    }

    public static class PluginCannotStartException extends PluginException {
        public PluginCannotStartException(String message) {
            super(message);
        }
        public PluginCannotStartException(String message, Throwable cause) {
            super(message, cause);
        }
        public PluginCannotStartException(Throwable cause) {
            super(cause);
        }
        public PluginCannotStartException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) {
            super(message, cause, enableSuppression, writableStackTrace);
        }
        public PluginCannotStartException() {
            super();
        }
    }

    public static class PluginCannotStopException extends PluginException {
        public PluginCannotStopException(String message) {
            super(message);
        }
        public PluginCannotStopException(String message, Throwable cause) {
            super(message, cause);
        }
        public PluginCannotStopException(Throwable cause) {
            super(cause);
        }
        public PluginCannotStopException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) {
            super(message, cause, enableSuppression, writableStackTrace);
        }
        public PluginCannotStopException() {
            super();
        }
    }

    public static class PluginCannotLoadException extends PluginException {
        public PluginCannotLoadException(String message) {
            super(message);
        }
        public PluginCannotLoadException(String message, Throwable cause) {
            super(message, cause);
        }
        public PluginCannotLoadException(Throwable cause) {
            super(cause);
        }
        public PluginCannotLoadException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) {
            super(message, cause, enableSuppression, writableStackTrace);
        }
        public PluginCannotLoadException() {
            super();
        }
    }
}
